package io.github.common.entity.dto;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.github.common.enums.Deleted;

import java.util.Date;

import lombok.Data;

/**
 * 抽象类
 */
@Data
public abstract class AbstractDTO {

    /** Id */
    private Long id;

    /** Create time */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** Update time */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    /** Deleted */
    private Deleted deleted;

}
